﻿using System.Collections.Generic;

namespace JinYuan.Models
{
    /// <summary>
    /// CPQCPT数据
    /// </summary>
    public class CPQCPTDate
    {
        /// <summary>
        /// 注液前重量
        /// </summary>
        public string CTP_PreWeighing_Value { get; set; }
        /// <summary>
        /// 保液量
        /// </summary>
        public string CTP_Liquid_Retention_Value { get; set; }
        /// <summary>
        /// 注液量
        /// </summary>
        public string CTP_Filling_Value { get; set; }
        /// <summary>
        /// 失液量
        /// </summary>
        public string CTP_Liquid_Loss_Value { get; set; }
        /// <summary>
        /// 充氦值
        /// </summary>
        public string CTP_Helium_Filling_Value { get; set; }
        /// <summary>
        /// 钟罩真空值
        /// </summary>
        public string CTP_Belljar_Vacuum_Value { get; set; }
        /// <summary>
        /// 钟罩真空时间
        /// </summary>
        public string CTP_Belljar_Vacuum_Time { get; set; }
        /// <summary>
        /// 钟罩高压值
        /// </summary>
        public string CTP_Belljar_HighPressure_Value { get; set; }
        /// <summary>
        /// 钟罩高压时间
        /// </summary>
        public string CTP_Belljar_HighPressure_Time { get; set; }
        /// <summary>
        /// 钟罩循环次数
        /// </summary>
        public string CTP_Belljar_Cycles_Number { get; set; }
        /// <summary>
        /// 回氦前真空值
        /// </summary>
        public string CTP_Pre_Helium_Value { get; set; }
        /// <summary>
        /// 回氦后真空值
        /// </summary>
        public string CTP_Post_Helium_Value { get; set; }
        /// <summary>
        /// 平压压力
        /// </summary>
        public string CTP_Flat_Pressure { get; set; }
        /// <summary>
        /// 电芯测厚压力
        /// </summary>
        public string CTP_Cell_Thickness_Pressure { get; set; }
        /// <summary>
        /// 注液后重量
        /// </summary>
        public string CTQ_PostWeighing_Value { get; set; }
        /// <summary>
        /// 电芯厚度
        /// </summary>
        public string CTQ_Cell_Thickness { get; set; }
        /// <summary>
        /// 终压胶粒高度
        /// </summary>
        public string CTQ_Finalpress_Rubber_Height { get; set; }
        /// <summary>
        /// 注液前负压压力
        /// </summary>
        public string CTP_PreInjection_Pressure { get; set; }
        /// <summary>
        /// 电解液保有量-
        /// </summary>
        public string CTQ_Electrolyte_Inventory { get; set; }
        /// <summary>
        /// 预钉打钉行程
        /// </summary>
        public string CTP_PreNailing_Stroke { get; set; }
        /// <summary>
        /// 回氦前抽真空压力
        /// </summary>
        public string CTP_PreHelium_Vacuum_Pressure { get; set; }
        /// <summary>
        /// 终压打钉行程
        /// </summary>
        public string CTP_FinalNailing_Stroke { get; set; }
        /// <summary>
        /// 压密封胶粒后电芯厚度
        /// </summary>
        public string CTQ_Finalpress_Rubber_Thickness { get; set; }
    }
    /// <summary>
    /// 进出站上传数据
    /// </summary>
    public class EnterandExit
    {
        /// <summary>
        /// BU编码
        /// </summary>
        public string bu_id;
        /// <summary>
        /// 区域简称
        /// </summary>
        public string district_id;
        /// <summary>
        /// 工厂编码
        /// </summary>
        public string factory_id;
        /// <summary>
        /// 产线编码
        /// </summary>
        public string production_line_id;
        /// <summary>
        /// 工序编码
        /// </summary>
        public string production_processes_id;
        /// <summary>
        /// 工作中心编码
        /// </summary>
        public string work_center_id;
        /// <summary>
        /// 工站
        /// </summary>
        public string station_id;
        /// <summary>
        /// 设备编码
        /// </summary>
        public string device_name;
        /// <summary>
        /// 进出站标识
        /// </summary>
        public string action;
        /// <summary>
        /// 动作时间（进出站）
        /// </summary>
        public string action_time;
    }

    public class CollectionUpload
    {
        /// <summary>
        /// BU编码
        /// </summary>
        public string bu_id;
        /// <summary>
        /// 区域简称
        /// </summary>
        public string district_id;
        /// <summary>
        /// 工厂编码
        /// </summary>
        public string factory_id;
        /// <summary>
        /// 产线编码
        /// </summary>
        public string production_line_id;
        /// <summary>
        /// 工序编码
        /// </summary>
        public string production_processes_id;
        /// <summary>
        /// 工作中心编码
        /// </summary>
        public string work_center_id;
        /// <summary>
        /// 工站
        /// </summary>
        public string station_id;
        /// <summary>
        /// 设备编码
        /// </summary>
        public string device_name;
        /// <summary>
        /// 采集项数据列表
        /// </summary>
        public List<Collection> taglist { get; set; }

    }

    public class Collection
    {
        /// <summary>
        /// 时间
        /// </summary>
        public string device_time { get; set; }
        /// <summary>
        /// 采集项键值对
        /// </summary>
        public Dictionary<string, string> collection_items { get; set; }
    }

}
